// 定义系统错误信息集
module.exports = {
    'RESPONSE_COMMON_FAIL': { code: 1000, msg: '响应错误' },
    'REGISTER_FAIL': { code: 1001, msg: '注册功能错误' },
    'USER_IS_EXIST': { code: 1002, msg: '账户已存在' },
    'USER_IS_NOT_EXIST': { code: 1003, msg: '用户不存在' },
    'CHANGE_PASSWORD_FAIL': { code: 1004, msg: '更改密码出错' },
    'CLASS_IS_EXIST': { code: 1005, msg: '该班级或该课程已存在' },
    'CLASS_ADD_FAIL': { code: 1006, msg: '添加班级出错' },
    'CLASS_UPDATE_FAIL': { code: 1007, msg: '更新班级出错' },
    'SUBJECT_UPDATE_FAIL': { code: 1008, msg: '更新科目出错' },
    'COMMNET_ADD_FAIL': { code: 1009, msg: '添加考勤状况出错' },
    'STUDENT_ADD_FAIL': { code: 1010, msg: '学生添加出错' },
    'COMMNET_UPDATE_FAIL': { code: 1011, msg: '更新考勤状况出错' },
    'STUDENT_IS_EXIST': { code: 1012, msg: '学生已经存在' },
    'STUDENT_DELETE_FAIL': { code: 1013, msg: '学生信息删除出错' },
    'STUDENT_UPDATE_FAIL': { code: 1014, msg: '学生信息更新出错' },
    'CLASS_IS_NOT_EXIST': { code: 1015, msg: '该班级不存在' },
    'PASSWORD_IS_FAIL': { code: 1016, msg: '用户名或密码错误' }
};